package com.memory.demo.Controller;

import com.memory.demo.service.PaintService;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class PaintingController {

    @Resource
    private PaintService paintService;

//    @PostMapping("/paint")
//    @CrossOrigin
//    public String getimage(@RequestParam("str") String str){
//        return paintService.tuxiangjiawenzi(str);
//    }
}
